/*    file: MediaPort.h
 *    desc:
 *   
 * created: 2015-11-09
 *  author: chuanjiang.zh@qq.com
 * company: 
 */ 


#if !defined MEDIAPORT_H_
#define MEDIAPORT_H_

#include "BasicType.h"
#include <string>
////////////////////////////////////////////////////////////////////////////
class MediaPort
{
public:
    virtual ~MediaPort() {}

	virtual void setOriginSdp(const std::string& sdp) = 0;

    virtual std::string getLocalSdp() =0;

    virtual int setPeerSdp(std::string& peerSdp) =0;

    virtual std::string getPeerSdp(std::string& offerSdp) =0;

    virtual int start() =0;

    virtual void stop() =0;

    

};
////////////////////////////////////////////////////////////////////////////
#endif //MEDIAPORT_H_

